<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
/***********************************************
* 파일명   	: comm_table_sub_code_p.jsp
* 기  능      	: 공통코드관리	-하위코드 추가 
* 최초 작성일 	: 2009/02/10
* @author 	: Yang D
*************************************************
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="/inc/css/common.css" />
	<link rel="stylesheet" type="text/css" href="style/style.css" />
	<script src="inc/js/common.js"></script>
	<title>하위코드</title>
	
	<script type="text/javascript">
		//온로드시 대표코드 , 코드명을 스크립트로 가져온다.
		function fnc_onload() {
			var f	=	opener.frm;
			
			frm.group_cd.value	=	f.group_cd.value;
			//return false;
		}
		
		//저장
		function fnc_save() {
			alert("저장");
			return false;
		}
	</script>
</head>
<body onload="fnc_onload()">
	<s:form name="frm" id="frm" method="post" theme="simple">
	<div id="popup_550se_top"></div>
		<table align="center">
				<tr>
					<td>대표코드</td>
					<td><s:textfield id="group_cd" name="group_cd" readonly="true" cssClass="input_120se" /></td>
				</tr>
				<tr>
					<td>대표코드명</td>
					<td><s:textfield id="group_nm" name="group_nm" readonly="true" cssClass="input_120se" /></td>
				</tr>
				<tr>
					<td>적용코드</td>
					<td><s:textfield id="sub_cd" name="sub_cd" cssClass="input_120se"/></td>
				</tr>
				<tr>
					<td>적용코드명</td>
					<td><s:textfield id="sub_nm" name="sub_nm" cssClass="input_120se"/></td>
				</tr>
				<tr>
					<td>비고 </td>
					<td><s:textfield id="etc" name="etc" cssClass="input_120se"/></td>
				</tr>
				<tr>
					<td>사용여부</td>
					<td><s:select id="use_yn" name="use_yn" list="#{'Y':'Y' , 'N':'N'}" cssClass="combobox120se" /></td>
				</tr>
				<tr>
					<td colspan="2"><s:submit 	type="image" 	src="/images/btn_save.gif"	cssClass="img_tm" 	value="저장" onclick="return fnc_save()"/></td>
				</tr>
			</table>	
	</s:form>
</body>
</html>